$(document).ready(function($) {

	// Define all the Project Management Courses Here
	var pm_courses = [320,420,421,422,423,424,426,600,601,602,603,605,607,623,624,625,626,627,663,666,"688Z",724,725,661,662,664,665,667,"688Y", ];


	// Test to see if the current page is a project management course
	// by checking the "#section-tabs-header"

	var isPMCourse = false;
	var current_course_info = $('#section-tabs-header').text().toLowerCase();
	$.each(pm_courses, function() {
		if ( current_course_info.indexOf(this.toString().toLowerCase() ) > -1 ) {
			isPMCourse = true;
		}
	})


	// Is is a Project Management Course?
	
	if ( isPMCourse ) {

		//It's a Project Management Course: Hack-in the style.

		$('#header-logo').css('background', 'url("https://pm-hosted-canvas.googlecode.com/svn/trunk/logo_big_black.png") no-repeat scroll 0 0 transparent');
		$('#header').css('background', 'url("https://pm-hosted-canvas.googlecode.com/svn/trunk/bg.png") no-repeat scroll 0 0 transparent');
		$('#menu .menu-item-title, #menu .menu-item-no-drop').css({color:'#606060'});
		$('#header-logo-secondary').hide();
	}

	// Now, back to our regularly scheduled program	. . . 

})